
import React,{Component} from 'react';
import './App.css';
import routes from './router/config'
import RouterView from './router'
import {BrowserRouter} from 'react-router-dom';



export default class App extends Component {
  state={
    selectedTab:'home'
  }
  componentDidMount(){
    console.log('this.props',this.props);
  }
  render() {
    return (
      <div className="App">
      <BrowserRouter>
      <RouterView routes={routes}>
      </RouterView>

      </BrowserRouter>
    </div>
    )
  }
}






